<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>


 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
	

            <div class="cont">
                <div ><h3 class="cont_title">发货信息</h3></div>           

  
		<form action="<?php echo $this->_url('usershop/shopdeliveryadd/?');?>order_id=<?php echo $order_id;?>" method="post" onsubmit="return check();">
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
			<tr>
				<th>用户要求运输方式:</th>
				<?php  if($row['0']['a']['transport_type']==1) {?>
				<td>EMS</td>
				<?php  } elseif($row['0']['a']['transport_type']==2) {?>
				<td>平邮</td>
				<?php  } else {?>
				<td>快递</td>
				<?php }?>
			</tr>
			<tr>
				<th>物流公司名称:</th>
				<td><input type="text" id="shipping_name" name="data[shipping_name]" maxlength="50"/></td>
			</tr>
			<tr>
				<th>物流发货单号:</th>
				<td><input type="text" id="shipping_no" name="data[shipping_no]" maxlength="50"/></td>
			</tr>
			<tr>
				<th>发货运输类型:</th>
				<td><input type="text" id="shipping_type" name="data[shipping_type]" maxlength="50"/></td>
			</tr>
			<tr>
		        <td></td>
		        <td><input type="submit" value="提交"/></td>
		    </tr>
		</table>
	</form>
			  
            </div>
	
	

        

    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>

</body>
</html>
<script language="JavaScript">
function Trim(center) {
	return center.replace(/\s+$|^\s+/g,"");
}
function check(){
	var shipping_name = Trim(document.getElementById("shipping_name").value);
	var shipping_no = Trim(document.getElementById("shipping_no").value);
	var shipping_type = Trim(document.getElementById("shipping_type").value);
	if(shipping_name.length==0){
		alert("请输入物流公司名称");
		return false;
		}
	if(shipping_no.length==0){
		alert("请输入物流发货单号");
		return false;
		}
	if(shipping_type.length==0){
		alert("请输入发货运输类型");
		return false;
		}
}
</script>